--TEST--
Phar: tar archive, require_hash=1, OpenSSL hash
--EXTENSIONS--
phar
zlib
openssl
--INI--
phar.readonly=1
phar.require_hash=1
--FILE--
<?php
try {
    $phar = new PharData(__DIR__ . '/files/P1-1.0.0.tgz');
} catch (Exception $e) {
    echo $e->getMessage()."\n";
}

?>
===DONE===
--EXPECT--
===DONE===
